<div class="box white_bg">

<?if(isset($this->viewParams['errorMessage'])) :?>
<div class="errorMessage"> <?=$this->viewParams['errorMessage']?> </div>
<?endif ?>

<form action="<?=$this->viewParams['form']->getAction() ?>" method="<?=$this->viewParams['form']->getMethod() ?>">
node Type: <?=$this->viewParams['form']->type ?>
<br/>
Config (metadata) : <br/>
<?=$this->viewParams['form']->metadata ?>
<br/>
<?=$this->viewParams['form']->submit ?>

</form>
<script>
$(function() {
    val = $("#metadata").html();
    $("#metadata").html(val.replace(/xxx/g, "\n"));
});
</script>

</div>